Skip to content

Conversation

@DamonFool
Copy link
Contributor

This is a trivial fix for the following build warning for Android.

Building CXX object tools/mtmd/CMakeFiles/mtmd.dir/mtmd-helper.cpp.o
In file included from /Users/jiefu/llama.cpp/tools/mtmd/mtmd-helper.cpp:30:
/Users/jiefu/llama.cpp/tools/mtmd/../../vendor/miniaudio/miniaudio.h:12109:5: warning: no previous prototype for function 'ma_android_sdk_version' [-Wmissing-prototypes]
 12109 | int ma_android_sdk_version()
       |     ^
/Users/jiefu/llama.cpp/tools/mtmd/../../vendor/miniaudio/miniaudio.h:12109:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
 12109 | int ma_android_sdk_version()
       | ^
       | static
1 warning generated.

@ggerganov
Copy link
Member

Need to upstream this change in the 3rd party project and then we will update it here.

@DamonFool
Copy link
Contributor Author

Need to upstream this change in the 3rd party project and then we will update it here.

OK, got it.
Thanks.

@DamonFool DamonFool closed this Sep 18, 2025
@DamonFool DamonFool deleted the jf branch September 18, 2025 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants